﻿<%@ WebHandler Language="C#" Class="menuTree" %>

using System;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Reflection;
using EasyFMS.Common;
using Liger.Common.Extensions;
using Liger.Data;
using EasyFMS.Model;
using Liger.Common.JSON;
using EasyFMS.Service;

public class menuTree : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        context.Response.ContentType = "text/plain";
        context.Response.Write(DbHelper.Db.GetMenuJSON(context));
        context.Response.End();   
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}